package com.ruoyi.life.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 收款明细对象 omp_sf_receipt_detail
 *
 * @author cjie
 * @date 2021-08-03
 */
@Data
@ApiModel
public class SfReceiptDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 账单Id */
    @Excel(name = "账单Id")
    @ApiModelProperty(value = "账单Id")
    private String billId;

    private String billType;

    /** 收款方式 */
    @Excel(name = "收款方式")
    @ApiModelProperty(value = "收款方式")
    private String receiptMethod;

    /** 收款金额 */
    @Excel(name = "收款金额")
    @ApiModelProperty(value = "收款金额")
    private BigDecimal receiptAmount;

    /** 收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "收款时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "收款时间")
    private Date receiptTime;

    /** 到账时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "到账时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "到账时间")
    private Date arrivalTime;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @Excel(name = "租户Id")
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 账单编号 */
    @Excel(name = "账单编号")
    @ApiModelProperty(value = "账单编号")
    private String billNum;

    /** 费用类型名称 */
    @Excel(name = "费用类型名称")
    @ApiModelProperty(value = "费用类型名称")
    private String feeTypeName;

    /** 收款账户 */
    @Excel(name = "收款账户")
    @ApiModelProperty(value = "收款账户")
    private String receiptAccount;

    /** 违约金 */
    @Excel(name = "违约金")
    @ApiModelProperty(value = "违约金")
    private BigDecimal receiptTotalFine;


    /** 收款账户Id */
    @Excel(name = "收款账户Id")
    @ApiModelProperty(value = "收款账户Id")
    private String receiptAccountId;

    /** 收款账户账号 */
    @Excel(name = "收款账户账号")
    @ApiModelProperty(value = "收款账户账号")
    private String receiptAccountNum;

    /** 收款账户银行 */
    @Excel(name = "收款账户银行")
    @ApiModelProperty(value = "收款账户银行")
    private String receiptAccountBank;


}
